<?php

class Chair extends ChairDAO{

    public function cargarChair($objChairTO) {
 		try{
            return $this->load($objChairTO);
 		}
 		catch(Exception $e){
 			throw $e;
 		}
	}

    public function listar($condition='TRUE', $page='1', $rows_per_page='20', $order_by='id_track', $order_by_type='DESC') {
    	try{
      		$data = $this->select('*',$condition, $page, $rows_per_page, $order_by, $order_by_type);
      		return $data;
    	}
    	catch(Exception $e){
      		throw $e;
    	}
  	}

}
?>
